package com.hsh.controller;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.experimental.Accessors;

import java.math.BigDecimal;

/**
 * <p>
 * </p>
 *
 * @author 黄思海
 * @date 2021/6/29
 */
@Data
@Accessors(chain = true)
@ApiModel(description = "测试返回数据")
public class TestResult {
    @ApiModelProperty(value = "数据内容")
    private String content;

    @ApiModelProperty(value = "金钱")
    private BigDecimal money;

    @ApiModelProperty(value = "返回前台构造方法")
    public String getConstructionOne() {
        return "public --> getOne";
    }

}
